﻿namespace Mohe.Scada.WebApi.Common
{
    public class IocManager
    {
        public static IocManager Instance = new IocManager();
        public IServiceProvider Container { get; set; }
        public T GetService<T>()
        {
            return Container.GetService<T>();
        }

    }
}
